//
//  CFProgressHUDShadow.m
//  CFProgressHUD
//
//  Created by 千域互联 on 2018/3/18.
//  Copyright © 2018年 千域互联. All rights reserved.
//

#import "CFProgressHUDShadow.h"

@implementation CFProgressHUDShadow

+ (instancetype)shadowWithColor:(UIColor *)color offset:(CGSize)offset radius:(CGFloat)radius opacity:(float)opacity
{
    return [[self alloc] initWithColor:color offset:offset radius:radius opacity:opacity];
}

- (instancetype)initWithColor:(UIColor *)color offset:(CGSize)offset radius:(CGFloat)radius opacity:(float)opacity
{
    if (self = [super init]) {
        _color      = color;
        _offset     = offset;
        _radius     = radius;
        _opacity    = opacity;
    }
    return self;
}

@end
